<header data-am-widget="header" class="am-header am-header-default sq-head ">
	<h1 class="am-header-title">
		<a href="" class="">个人中心</a>
	</h1>
</header>
<div style="height: 49px;"></div>
<div class="member">
	<div class="mem-tit" style="padding-bottom: 10px">
		<a href="{:url('index/Set/index')}" class="step"><img src="__STATIC__/images/step.png" width="26"/></a>
	</div>
	{if condition="session('uid')"}
	<div class="mem-pic" style="padding-bottom: 20px">
		<img style="width:100px;height:100px;margin-left: 30%" src="__ROOT__/{:session('face')}" alt="">
	</div>
	<div class="mem-pic">
		<span style="margin-left: 45%">{:session('username')}</span>
	</div>
	{else/}
	<div class="mem-pic" style="padding-bottom: 20px">
		<div class="mem-pic-bg" style="background-image: url(images/memtx.png);"></div>
	</div>
	<div class="mem-pic">
		<a href="{:url('index/Login/index')}">
			<button class="layui-btn layui-btn-warm ">登陆</button>
		</a>
		<a href="{:url('index/Reg/index')}">
			<button class="layui-btn layui-btn-warm " style="margin-left: 60px">注册</button>
		</a>
	</div>
	{/if}

	<ul class="member-menu">
		<li>
			<a href="records.html">
				<p class="yellow">{:session('uid') ? $data.moeny : 0.00}</p>
				<p class="black">帐户余额 </p>
			</a>
		</li>
		<li>
			<a href="integral.html">
				<p class="yellow">{:session('uid') ? $data.integral : 0}</p>
				<p class="black">积分 </p>
			</a>
		</li>
		<li>
			<a href="yhq.html">
				<p class="yellow">0</p>
				<p class="black">优惠劵 </p>
			</a>
		</li>
		<li>
			<a href="collect.html">
				<p class="yellow">0</p>
				<p class="black">我的收藏 </p>
			</a>
		</li>
	</ul>
</div>
<div class="user-list">
	<div class="u-list-main">
		<img src="__STATIC__/images/order-pic.png" width="27"/>
		<span>我的购物订单</span>
		<a href="allorder.html">查看全部订单></a>
	</div>
	<ul class="user-nav">
		<li><a href="allorder.html"> <img src="__STATIC__/images/1-icon.png">
			<p>待付款</p></a></li>
		<li><a href="allorder.html"> <img src="__STATIC__/images/1-icon1.png">
			<p>待收货</p></a></li>
		<li><a href="allorder.html"> <img src="__STATIC__/images/1-icon2.png">
			<p>待评价</p></a></li>
		<li><a href="allorder.html"> <img src="__STATIC__/images/1-icon3.png">
			<p>退换货</p></a></li>
	</ul>
	<div class="u-list-main">
		<img src="__STATIC__/images/order-my.png" width="27"/>
		<span>帐户与安全</span>
	</div>
	<ul class="user-nav">
		<li><a href="{:url('index/Edit/index')}"> <img src="__STATIC__/images/1-icon4.png">
			<p>个人资料</p></a></li>
		<li><a href="{:url('index/ReapRess/index')}"> <img src="__STATIC__/images/1-icon5.png">
			<p>收货地址</p></a></li>
		<li><a href="{:url('index/SafetySet/index')}"> <img src="__STATIC__/images/1-icon6.png">
			<p>安全设置</p></a></li>
		<li><a href="money.html"> <img src="__STATIC__/images/1-icon7.png">
			<p>我的钱包</p></a></li>
	</ul>
</div>
<!--导航-->
<ul class="sq-nav"
	style=" background: #fff; margin-top: 1rem; border-top: 1px solid #ddd;  border-bottom: 1px solid #ddd;">
	<li>
		<div class="am-gallery-item">
			<a href="job.html" class="">
				<img src="__STATIC__/images/m_03.png"/>
				<p>我要兼职</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="recommend.html" class="">
				<img src="__STATIC__/images/m_04.png"/>
				<p>推荐有奖</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="myrecommend.html" class="">
				<img src="__STATIC__/images/m_05.png"/>
				<p>我的推荐</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="" class="">
				<img src="__STATIC__/images/m_06.png"/>
				<p>我的佣金</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="yhq.html" class="">
				<img src="__STATIC__/images/m_02.png"/>
				<p>我的红包</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="message.html" class="">
				<img src="__STATIC__/images/m_07.png"/>
				<p>我的动态</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="javascript:;" class="index-qd">
				<img src="__STATIC__/images/m_08.png"/>
				<p>客服中心</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="{:url('index/Login/loginOut')}" class="">
				<img src="__STATIC__/images/m_09.png"/>
				<p>安全退出</p>
			</a>
		</div>
	</li>
</ul>
<!--客服中心-->
<div class="qd-box">
	<div class="popup-title">
		<span>客服中心</span>
		<div class="popup-close">
			<i class="iconfont">&#xe602</i></div>
	</div>
	<div class="dq-text">
		<a href="http://wpa.qq.com/msgrd?v=3&uin=123456789&site=qq&menu=yes">
			<img src="__STATIC__/images/contactqq.png" width="50"/>
			<p class="contactqq">联系QQ</p>
		</a>
		<a href="tel:0791-12345678">
			<img src="__STATIC__/images/contacttele.png" width="50"/>
			<p class="contacttele">呼叫电话</p>
		</a>
	</div>
</div>
<!--客服中心-->
<!--底部-->
<script type='text/javascript'>
    (function () {
        new PopUp_api({el: '.index-qd', html: '.qd-box'});
    })()
</script>
